package com.ruoyi.teacher.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

@Data
public class QueryVO {

    private static final long serialVersionUID = 1L;

    /** 教师编号 */
    @Excel(name = "教师编号")
    private Long teacherId;

    /** 部门ID */
    @Excel(name = "归属部门")
    private Long deptId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birth;

    /** 民族 */
    @Excel(name = "民族")
    private String nationality;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String pstatus;

    /** 人员状态 */
    @Excel(name = "人员状态")
    private String status;

    /** 进入本校时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进入本校时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date joinTime;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 职级 */
    @Excel(name = "职级")
    private String titleLevel;

    /** 学历 */
    @Excel(name = "学历")
    private String education;

    /** 学位 */
    @Excel(name = "学位")
    private String degree;
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setBirth(Date birth)
    {
        this.birth = birth;
    }

    public Date getBirth()
    {
        return birth;
    }
    public void setNationality(String nationality)
    {
        this.nationality = nationality;
    }

    public String getNationality()
    {
        return nationality;
    }
    public void setPstatus(String pstatus)
    {
        this.pstatus = pstatus;
    }

    public String getPstatus()
    {
        return pstatus;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setJoinTime(Date joinTime)
    {
        this.joinTime = joinTime;
    }

    public Date getJoinTime()
    {
        return joinTime;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setTitleLevel(String titleLevel)
    {
        this.titleLevel = titleLevel;
    }

    public String getTitleLevel()
    {
        return titleLevel;
    }
    public void setEducation(String education)
    {
        this.education = education;
    }

    public String getEducation()
    {
        return education;
    }
    public void setDegree(String degree)
    {
        this.degree = degree;
    }

    public String getDegree()
    {
        return degree;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("deptId", getDeptId())
                .append("name", getName())
                .append("sex", getSex())
                .append("birth", getBirth())
                .append("nationality", getNationality())
                .append("pstatus", getPstatus())
                .append("status", getStatus())
                .append("joinTime", getJoinTime())
                .append("title", getTitle())
                .append("titleLevel", getTitleLevel())
                .append("education", getEducation())
                .append("degree", getDegree())
                .toString();
    }
}
